Ext.define("ZYY.view.system.icon", {
	extend : "Ext.grid.Panel",
	alias : 'widget.system.icon',//别名    xtype用
	store:'system.icon',
	title:"系统预置图标",
	closable:true,
	columns: [{
                text: '预览',
                dataIndex: 'filepath',
                renderer : function(value) {
					return "<img src='"+path+value+"' />";
				},
				align:'center',
                width: 50
            },{
                text: 'CSS类名',
                dataIndex: 'cssname',
                width: 120
            },{
                text: '文件名',
                dataIndex: 'filename',
                width: 120
            },{
                text: '访问路径',
                dataIndex: 'filepath',
                flex: 1
            }],
        bbar:{
        	xtype:'pagingtoolbar',
            pageSize: 20,
            store:'system.icon',
            displayInfo: true,
            plugins: Ext.create('Ext.ux.ProgressBarPager', {})
        },
	initComponent:function(){
		console.log('组件'+this.$className+'初始化');
		this.callParent(arguments);
	}
});